@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F "delims=" %%i IN (NameList.txt) DO (
    SET /A sort+=1
    ECHO %%i-!sort!
    MD %%i-!sort!
)
PAUSE